package com.sz.virtualbank.web.vo.account;

import java.math.BigDecimal;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import jakarta.validation.constraints.DecimalMin;
import jakarta.validation.constraints.NotBlank;
import jakarta.validation.constraints.NotNull;
import lombok.Data;

/**
 * 转账请求对象
 *
 * @author Claude
 */
@Data
@ApiModel("转账请求")
public class TransferReqVO {

    @ApiModelProperty(value = "目标账户", required = true)
    @NotBlank(message = "目标账户不能为空")
    private String targetAccount;

    @ApiModelProperty(value = "转账金额", required = true)
    @NotNull(message = "转账金额不能为空")
    @DecimalMin(value = "0.01", message = "转账金额必须大于0")
    private BigDecimal amount;

    @ApiModelProperty(value = "备注")
    private String remark;

    @ApiModelProperty(value = "支付密码", required = true)
    @NotBlank(message = "支付密码不能为空")
    private String password;
}
